<template>
  <div id="app">
    <router-view></router-view>
  </div>
</template>

<script>
export default {
  name: 'App',
  watch: {
    '$route'(to) {
      let {title} = to.meta;
      document.title = title || '商城';
    }
  },
  

}
</script>

<style lang='scss'>
  @import './assets/common.scss'
  
</style>
